import http from "@/utils/http";

const accessInter = {
  // 加入协会——菜单
  getJrxhMenu(data) {
    return http({
      url: "/tianti_module_interface/associationJoinNew/menu",
      method: "get",
      params: data,
    });
  },
  // 加入协会——列表
  getJrxhList(data) {
    return http({
      url: "/tianti_module_interface/associationJoinNew/list",
      method: "get",
      params: data,
    });
  },

  // 加入协会——详情
  getJrxhDes(data) {
    return http({
      url: "/tianti_module_interface/associationJoinNew/info",
      method: "get",
      params: data,
    });
  },
  // 企业资质——申报表填报
  commitmentApplicationFrontSave(data) {
    // return http({
    //   url: "/tianti_module_interface/commitmentApplicationFront/save",
    //   method: "post",
    //   data,
    // });
    return http({
      url: "/tianti_module_interface/commitmentApplicationFront/save",
      method: "post",
      data,
    });
  },

  //奖项申请 列表
  getpageAwardList(data) {
    return http({
      url: "/tianti_module_interface/awardMenu/pageAwardList",
      method: "get",
      params: data,
    });
  },
  //获奖名单 列表
  getAwardMenuInfo(data) {
    return http({
      url: "/tianti_module_interface/awardMenuInfo/list",
      method: "get",
      params: data,
    });
  },
  //资质申请
  setADDesigner(data) {
    return http({
      url: "/tianti_module_interface/ADDesigner/save",
      method: "post",
      data,
    });
  },
  //企业-申请须知和指南
  getCationsInfo(data) {
    return http({
      url: "/tianti_module_interface/evaluationCompany/list",
      method: "get",
      params: data,
    });
  },
  //企业-申请须知和指南附件下载
  getCationsEnc(data) {
    return http({
      url: "/tianti_module_interface/commitmentApplication/list",
      method: "get",
      params: data,
    });
  },
  //个人技能资质
  getPersigner(data) {
    return http({
      url: "/tianti_module_interface/ADDesignerAwardType/list",
      method: "get",
      params: data,
    });
  },
  //个人技能资质详情
  getPersignerInfo(data) {
    return http({
      url: "/tianti_module_interface/ADDesignerAwardType/info",
      method: "get",
      params: data,
    });
  },
  //视频专区
  getVideo(data) {
    return http({
      url: "/tianti_module_interface/videoZone/list",
      method: "get",
      params: data,
    });
  },
  //视频专区详情
  getVideoInfo(data) {
    return http({
      url: "/tianti_module_interface/videoZone/info",
      method: "get",
      params: data,
    });
  },
  //协会文件
  getApplyLette(data) {
    return http({
      url: "/tianti_module_interface/associationApplyLetter/list",
      method: "get",
      params: data,
    });
  },
  //协会文件提交
  getApplyLetteSave(data) {
    return http({
      url: "/tianti_module_interface/associationJoin/save",
      method: "post",
      data,
    });
  },
};

export default accessInter;
